package com.wu.common.convertion.errorcode;

public enum SongListErrorCode implements IErrorCode {

    SONG_LIST_SAVE_ERROR("B000401", "添加歌单失败"),
    SONG_LIST_DELETE_ERROR("B000402", "删除歌单失败"),
    SONG_LIST_UPDATE_ERROR("B000403", "修改歌单信息失败"),
    SONG_LIST_UPDATE_IMAGE_ERROR("B000404", "上传歌单照片失败");
    private final String code;

    private final String message;

    SongListErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
